<template>
	<div class="w-full flex justify-center items-center" style="height: 100vh;">
		<n-result status="404" title="404 Not Found" description="抱歉，您访问的页面不存在">
			<template #footer>
				<n-button @click="goHome">返回首页</n-button>
			</template>
		</n-result>
	</div>
</template>

<script lang="ts" setup>
import {useRouter} from "vue-router";

const router = useRouter()

const goHome = () => {
	router.push('/')
}
</script>
